# -*- coding: utf-8 -*-
import MySQLdb as mdb
con = mdb.connect('localhost', 'root', 'ayaxyz1425gg', 'rubyaura')
with con:
    cur = con.cursor()
    cur.execute("SELECT * FROM tbl_members")
    for i in range(cur.rowcount):
        row = cur.fetchone()
        print(row[0], row[1])